{# A section's job (``job``, overseer_live.job_state): how far it has got while it runs (a bar that sweeps until it knows), then how it ended and what it made to open (``job.link``). Pushed as it changes; the last one pushed (``reload``, hx attributes) loads the section's view once more, so it shows what the job made. #} {% from "components/macros/layout.html" import goto, progress %}
{% if job.status == "running" %}

{{ job.label }}

{{ progress(job.ratio, label=job.title) }} {% else %}

{{ job.label }}{% if job.link %} {{ goto(job.link, "Open") }}{% endif %}

{% if reload %}
{% endif %} {% endif %}